import { getRequest, postRequest } from "@/lib/axios";
import {
  PAYMERASSETS,
  PAYMERASSETSRECORDS,
  PAYMERASSETSFROZEN,
} from "@/config/api-constant/ExAssistant";

//商户法币资产
export const payMerAssetsApi = (param, type) => {
  return postRequest(PAYMERASSETS, param, type);
};
//商户法币资产流水
export const payMerAssetsRecordsApi = (param, type) => {
  return postRequest(PAYMERASSETSRECORDS, param, type);
};
//商户资产冻结记录
export const payMerAssetsFrozenApi = (param, type) => {
  return postRequest(PAYMERASSETSFROZEN, param, type);
};
//USDM兑换记录
export const payMerUsdmRecordsApi = (param, type) => {
  return postRequest("/exassistant/mer_assets_usdm_records", param, type);
};

//财务统计
export const payMerAssetStatsApi = (param, type) => {
  return postRequest("/exassistant/mer_assets_stats", param, type);
};

//财务统计详情
export const payMerAssetStatsInfoApi = (param, type) => {
  return postRequest("/exassistant/mer_assets_stats_info", param, type);
};
